<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<base href='<?php echo base_url()?>'>
<link rel="stylesheet" type="text/css" href="public/common/css/common.css"/>
<link rel="stylesheet" type="text/css" href="public/admin/css/admin.css"/>
<script src="public/common/js/jquery.js"></script>
</head>
<body>
<div class="body">
	<div class="main_top"><div class="position left">当前位置 <span>&gt;</span> 表单 <span>&gt;</span> 产品咨询 <span>&gt;</span> 咨询管理 <span>&gt;</span> 回复咨询 </div></div>
    <div class="go_back"><a href="javascript:history.back()">返回</a></div>
    <div class="body_center">
    	<form action="<?php echo site_url('admin/product_ask/reply_ask/'.$product_ask->ask_id)?>" method="post">
            <table class="table">
                <tr><th width='20%'>参数名</th><th width='55%'>参数值</th><th width='25%'>参数说明</th></tr> 
				<tr>
                	<td align="center">咨询标题：</td>
                    <td>
                    	<input type='text' class='input_txt' name='ask_title' value='<?php echo $product_ask->ask_title?>'>
                    </td>
					<td>
						<span class='red'>*</span> 模版使用该名称来调用
					</td>
                </tr>
				<tr>
                	<td align="center">咨询产品：</td>
                    <td>
                    	<input type='text' class='input_txt' name='ask_title' value='
						<?php $product = $this->cic_model->get_one('product',array('product_id'=>$product_ask->product_id))?>
						<?php if($product):?>
						<?php echo $product->product_title?>
						<?php endif;?>
						'>
                    </td>
					<td>
						<span class='red'>*</span> 模版使用该名称来调用
					</td>
                </tr>
				<tr>
                	<td align="center">咨询内容：</td>
                    <td>
                    	<textarea name='ask_content' class='textarea'><?php echo $product_ask->ask_content?></textarea>
                    </td>
					<td>
						<span class='red'>*</span> 模版使用该名称来调用
					</td>
                </tr>
				<tr>
                	<td align="center">咨询用户：</td>
                    <td>
                    	<input type='text' class='input_txt' name='ask_title' value='<?php echo $product_ask->ask_title?>'>
                    </td>
					<td>
						<span class='red'>*</span> 模版使用该名称来调用
					</td>
                </tr>
				<tr>
                	<td align="center">咨询时间：</td>
                    <td>
                    	<input type='text' class='input_txt' name='ask_create_time' value='<?php echo date('Y-m-d',$product_ask->ask_create_time)?>'>
                    </td>
					<td>
						<span class='red'>*</span> 模版使用该名称来调用
					</td>
                </tr>
				<tr>
                	<td align="center">回复内容：</td>
                    <td>
                    	<textarea name='ask_reply_content' class='textarea'><?php if(!empty($product_ask->ask_reply_content)):?><?php echo $product_ask->ask_reply_content?><?php endif?></textarea>
                    </td>
					<td>
						<span class='red'>*</span> 模版使用该名称来调用
					</td>
                </tr>
                <tr>
                    <td align="center" colspan="2">
                   		<input type="submit" class="submit" value="提交" /> 
                        &nbsp;&nbsp;
                        <input type="reset" class="reset" value="重置" />
                    </td>
                    <td>&nbsp;</td>
                </tr>
            </table>          
   		</form>
    </div>
</div>
</body>
</html>